﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Resources;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;

namespace WpfApplication1
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            //Uri uri = new Uri("pack://application:,,,/Images/todo.png", UriKind.RelativeOrAbsolute);
            //Assembly assm = Assembly.GetExecutingAssembly();
            //object obj = assm.GetManifestResourceNames();
            //using (var resourceStream = GetType().Assembly.GetManifestResourceStream("WpfApplication1.g.resources"))
            //{
            //    var resourceSet = new ResourceSet(resourceStream);
            //    var resourceExists = resourceSet
            //        .Cast<System.Collections.DictionaryEntry>()
            //        .Any(x => object.Equals(x.Key, uri));
            //}
            
        }
    }
}
